#include <iostream>
#include <vector>
#include "src/format.h"
using namespace std;

int main() {
    int a = 1;
    std::string name = "liuping";
    std::cout<<format(a, name, "你好" ,"什么");

    std::cout<<cformat("name:%s\n", name.c_str());
//    Fm{{"name", "liuping"}};
    std::cout<<"my {name} is {name}, my age is {age}\n"%Fm{{"name", "lg"},{"1", "222222"}, {"age", "12"}};
    std::cout << "{1}, {2}, {3}, {1}, {3}, {2}"%Fs{name, "222", "333"};
    return 0;
}


